﻿<%@ Page Language="C#" MasterPageFile="~/Paginas/Paginas Master/PaginaServicio.Master" AutoEventWireup="true" CodeBehind="PagoSerPersonal.aspx.cs" Inherits="bi4homev3.Paginas.PagoSerPersonal" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content2" ContentPlaceHolderID="formulario1" runat="server">
    
    <table class="style10">
                        
       
                <tr>
            <td class="style26" colspan="2" 
                        style="text-align: left; font-family: Arial, Helvetica, sans-serif; font-weight: bold">
                      Registro de Nuevo pago de servicios:</td>
        </tr>
                        
       
                <tr>
            <td class="style21" style="text-align: left; font-family: Arial, Helvetica, sans-serif">
                      Fecha:</td>
            <td class="style22" style="text-align: left">
                <asp:CalendarExtender ID="CalendarExtender1" runat="server" 
                    TargetControlID="Fecha">
                </asp:CalendarExtender>
                <asp:TextBox ID="Fecha" runat="server" 
                    style="font-family: Arial, Helvetica, sans-serif"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server"
                 ControlToValidate="Fecha"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red" style="font-family: Arial, Helvetica, sans-serif">
                </asp:RequiredFieldValidator>
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" 
                    EnableScriptLocalization ="False" EnableScriptGlobalization="True" >
                </asp:ToolkitScriptManager>
            </td>
        </tr>
        <tr>
            <td class="style20" 
                style="text-align: left; font-family: Arial, Helvetica, sans-serif">
                Nuemero Factura:</td>
            <td class="style19" style="text-align: left">
                <asp:TextBox ID="Factura" runat="server" 
                    style="font-family: Arial, Helvetica, sans-serif"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server"
                 ControlToValidate="Factura"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red" style="font-family: Arial, Helvetica, sans-serif">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style27" 
                style="text-align: left; font-family: Arial, Helvetica, sans-serif">
                Pago a realizar:</td>
            <td class="style28" style="text-align: left">
                <span class="style32">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="SUSR_NOMBRE" 
                    DataValueField="SUSR_ID" style="font-family: Arial, Helvetica, sans-serif">
                </asp:DropDownList>
                </span>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionString2.ProviderName %>" 
                    
                    SelectCommand="SELECT susr_id, susr_nombre FROM SERVICIOS WHERE 
(SUSR_ID &gt; 100 AND SUSR_ID IN 
(select susr_id from servicio_usr where fkusr_id = (Select usr_id from usuario where usr_login = :FKUSR_ID))) 
or susr_id &lt; 100">
                    <SelectParameters>
                        <asp:SessionParameter Name="FKUSR_ID" SessionField="usuario" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td class="style20" 
                style="text-align: left; font-family: Arial, Helvetica, sans-serif">
                Monto:</td>
            <td class="style19" style="text-align: left">
                <asp:TextBox ID="Monto" runat="server" 
                    style="font-family: Arial, Helvetica, sans-serif"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server"
                 ControlToValidate="Monto"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red" style="font-family: Arial, Helvetica, sans-serif">
                </asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td class="style25" style="text-align: left">
                </td>
            <td class="style24" style="text-align: left">
                <span class="style32">
                <asp:Label ID="RESPUESTA" runat="server" 
                    style="color: #33CC33; font-family: Arial, Helvetica, sans-serif;"></asp:Label>
                </span>
                <br class="style32" style="font-family: Arial, Helvetica, sans-serif" /> 
               
            </td>
        </tr>
        <tr>
            <td class="style17" 
                style="text-align: left; font-family: Arial, Helvetica, sans-serif">
                &nbsp;</td>
            <td class="style16" style="text-align: left">
                <asp:Button ID="sendperfil" runat="server" onclick="sendperfil_Click" 
                    Text="Registrar Pago" 
                    style="text-align: left; font-family: Arial, Helvetica, sans-serif;" />
            </td>
        </tr>
    </table>
</asp:Content>

